<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>app2</title>
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
</head>

<body>
    <h1>app2 page</h1>
    <script>
        $(document).ready(function () {
            $.ajax({
                type: "get",
                // url: "http://b.xiwc.com:3000/init?_biz_=yh",
                url: "http://localhost:3000/init?_biz_=yh",
                data: {
                    id: 1,
                    name: 'zhangsan'
                },
                dataType: "json",
                // crossDomain: true,
                xhrFields: {
                    withCredentials: true
                },
                success: function (data) {
                    $('body').append(JSON.stringify(data))
                }
            });
        });
    </script>
</body>

</html>